﻿Ext.define('Wiztop.view.MyMeeting', {
    extend: 'Ext.tab.Panel',
    requires: [
        'Ext.TitleBar',
        'Wiztop.view.MyMeetingComment',
        'Wiztop.view.MyTopic',
        'Wiztop.view.MyApprove',
        'Wiztop.view.MyMeetingHistory',
        'Wiztop.view.MyVote',
        'Wiztop.view.MyVideo'
    ],
    xtype: 'mymeetingview',
    config: {
        tabBar: {
            docked: 'bottom',
            layout: {
                pack: 'center'
            }
        },
        items: [
         {
             xtype: 'titlebar',
             docked: 'top',
             title: '我的会议',
             items: [
             {
                 text: '返回首页',
                 id: 'btnBackHome',
                 align: 'left',
                 iconMask: true,
                 ui: 'back'
             },
             {
                 text: '议题征集',
                 id: 'btnTopicCollect',
                 align: 'right',
                 iconMask: true,
                 ui: 'forward'
             }]
         },
        {
            xtype: 'mymeetingcommentview',
            id: 'commentList',
            title: '我的记事本',
            itemId: '1',
            //iconCls: 'compose'
            iconCls: 'note_btn'
        },
        {
            xtype: 'mytopicview',
            title: '我的议题',
            id: 'myTopicList',
            itemId: '2',
            iconCls: 'topic_btn'
        },
        {
            title: '我的会议',
            xtype: 'mymeetinghistoryview',
            id: 'myMeetingList',
            itemId: '3',
            iconCls: 'meeting_btn'
        },
        {
            xtype: 'myapproveview',
            id: 'myApproveView',
            title: '我的意见',
            itemId: '4',
            iconCls: 'opinion_btn'

        },
        {
            title: '我参与的投票',
            id: 'myVoteList',
            xtype: 'myvoteview',
            itemId: '5',
            iconCls: 'vote_btn'
        },
        {
            title: '我的视频',
            id:'myVideoList',
            xtype: 'myvideoview',
            itemId: '6',
            iconCls: 'video_btn'
        }
        ]
    }
});